[INFO] cloning repository https://github.com/NayamiOR/RustLoxFirst
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NayamiOR/RustLoxFirst" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNayamiOR%2FRustLoxFirst", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNayamiOR%2FRustLoxFirst'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] eb9603a7503e2d63471c40ab7f55c63932938dda
[INFO] fixing NayamiOR/RustLoxFirst against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNayamiOR%2FRustLoxFirst" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/NayamiOR/RustLoxFirst
[INFO] finished tweaking git repo https://github.com/NayamiOR/RustLoxFirst
[INFO] tweaked toml for git repo https://github.com/NayamiOR/RustLoxFirst written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/NayamiOR/RustLoxFirst on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/NayamiOR/RustLoxFirst already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 271df145388bb3d918585106d71b35a99debb5602c52477e8d13145080ff546f
[INFO] running `Command { std: "docker" "start" "271df145388bb3d918585106d71b35a99debb5602c52477e8d13145080ff546f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "271df145388bb3d918585106d71b35a99debb5602c52477e8d13145080ff546f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "271df145388bb3d918585106d71b35a99debb5602c52477e8d13145080ff546f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "271df145388bb3d918585106d71b35a99debb5602c52477e8d13145080ff546f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking lox1 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/main.rs:84:18
[INFO] [stdout]    |
[INFO] [stdout] 84 |         unsafe { LOX.interpreter.interpret(statements) }
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 28 - static mut LOX: Lazy<Lox> = Lazy::new(|| Lox::new());
[INFO] [stdout] 28 + static LOX: Lazy<Lox> = Lazy::new(|| Lox::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/main.rs:84:18
[INFO] [stdout]    |
[INFO] [stdout] 84 |         unsafe { LOX.interpreter.interpret(statements) }
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 28 - static mut LOX: Lazy<Lox> = Lazy::new(|| Lox::new());
[INFO] [stdout] 28 + static LOX: Lazy<Lox> = Lazy::new(|| Lox::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.77s
[INFO] [stderr] crater-edition-check: lox1 v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking lox1 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::vec`
[INFO] [stdout]  --> src/expr.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::vec;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `any::Any` and `rc::Rc`
[INFO] [stdout]  --> src/value.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{any::Any, fmt::Display, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::vec`
[INFO] [stdout]  --> src/expr.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::vec;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `any::Any` and `rc::Rc`
[INFO] [stdout]  --> src/value.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{any::Any, fmt::Display, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keyword`
[INFO] [stdout]    --> src/interpreter.rs:262:37
[INFO] [stdout]     |
[INFO] [stdout] 262 |     fn visit_return_stmt(&mut self, keyword: &Token, value: &Expr) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyword`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> src/lox_callable.rs:51:18
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn eq(&self, other: &Self) -> bool {
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> src/lox_callable.rs:57:27
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `func`
[INFO] [stdout]   --> src/lox_callable.rs:68:41
[INFO] [stdout]    |
[INFO] [stdout] 68 |             LoxCallable::NativeFunction(func) => {
[INFO] [stdout]    |                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_func`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> src/lox_callable.rs:82:18
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn eq(&self, other: &Self) -> bool {
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> src/lox_callable.rs:88:27
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `interpreter`
[INFO] [stdout]   --> src/native_functions.rs:24:24
[INFO] [stdout]    |
[INFO] [stdout] 24 |             function: |interpreter: &mut Interpreter| {
[INFO] [stdout]    |                        ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interpreter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keyword`
[INFO] [stdout]    --> src/interpreter.rs:262:37
[INFO] [stdout]     |
[INFO] [stdout] 262 |     fn visit_return_stmt(&mut self, keyword: &Token, value: &Expr) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyword`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> src/lox_callable.rs:51:18
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn eq(&self, other: &Self) -> bool {
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> src/lox_callable.rs:57:27
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `func`
[INFO] [stdout]   --> src/lox_callable.rs:68:41
[INFO] [stdout]    |
[INFO] [stdout] 68 |             LoxCallable::NativeFunction(func) => {
[INFO] [stdout]    |                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_func`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> src/lox_callable.rs:82:18
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn eq(&self, other: &Self) -> bool {
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> src/lox_callable.rs:88:27
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `interpreter`
[INFO] [stdout]   --> src/native_functions.rs:24:24
[INFO] [stdout]    |
[INFO] [stdout] 24 |             function: |interpreter: &mut Interpreter| {
[INFO] [stdout]    |                        ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interpreter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/environment.rs:15:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Environment {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 15 |     pub(crate) fn new() -> Rc<RefCell<Self>> {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `globals` is never read
[INFO] [stdout]   --> src/interpreter.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub(crate) struct Interpreter {
[INFO] [stdout]    |                   ----------- field in this struct
[INFO] [stdout] 18 |     pub(crate) globals: Rc<RefCell<Environment>>,
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/lox_callable.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct LoxNativeFunction {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 77 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LoxNativeFunction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/runtime_error.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Return {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 29 |     pub(crate) fn new(value: Value) -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/main.rs:84:18
[INFO] [stdout]    |
[INFO] [stdout] 84 |         unsafe { LOX.interpreter.interpret(statements) }
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 28 - static mut LOX: Lazy<Lox> = Lazy::new(|| Lox::new());
[INFO] [stdout] 28 + static LOX: Lazy<Lox> = Lazy::new(|| Lox::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/environment.rs:15:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Environment {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 15 |     pub(crate) fn new() -> Rc<RefCell<Self>> {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `globals` is never read
[INFO] [stdout]   --> src/interpreter.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub(crate) struct Interpreter {
[INFO] [stdout]    |                   ----------- field in this struct
[INFO] [stdout] 18 |     pub(crate) globals: Rc<RefCell<Environment>>,
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/lox_callable.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct LoxNativeFunction {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 77 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LoxNativeFunction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/runtime_error.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Return {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 29 |     pub(crate) fn new(value: Value) -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/main.rs:84:18
[INFO] [stdout]    |
[INFO] [stdout] 84 |         unsafe { LOX.interpreter.interpret(statements) }
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 28 - static mut LOX: Lazy<Lox> = Lazy::new(|| Lox::new());
[INFO] [stdout] 28 + static LOX: Lazy<Lox> = Lazy::new(|| Lox::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lox1` (bin "lox1") due to 1 previous error; 13 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `lox1` (bin "lox1" test) due to 1 previous error; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "271df145388bb3d918585106d71b35a99debb5602c52477e8d13145080ff546f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "271df145388bb3d918585106d71b35a99debb5602c52477e8d13145080ff546f", kill_on_drop: false }`
[INFO] [stdout] 271df145388bb3d918585106d71b35a99debb5602c52477e8d13145080ff546f
